Skip to content

BREAKING CHANGE: drop EOL Node.js v18 and Electron v26, v27, and v28. Add node v24 to build matrix. #1371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

mceachen
Copy link
Member

@mceachen mceachen commented May 7, 2025

I haven't done any verification of this branch. We'll see how GHA likes it.

@mceachen mceachen requested review from JoshuaWise and a team as code owners May 7, 2025 16:24
@mceachen mceachen requested a review from Copilot May 17, 2025 17:58
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes end-of-life Node.js v18 and Electron v26–v28 support, adds Node.js v24 to the build matrix, and enforces supported Node versions via package.json.

  • Added a new engines.node range to package.json
  • Updated GitHub Actions workflows to drop Node v18 and use Node v20 (and include v24 in the build matrix)
  • Revised the prebuild commands and comments in build.yml to reflect the new supported versions

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
package.json Introduce "engines": { "node": "20.x || 22.x || 23.x || 24.x" }
.github/workflows/update-sqlite.yml Change setup-node from Node 18 → Node 20
.github/workflows/bump-version.yml Change setup-node from Node 18 → Node 20
.github/workflows/build.yml Remove Node 18, add Node 24 to matrix; update build commands & comments
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:33

  • [nitpick] To avoid version drift, consider extracting the Node.js version list into a shared matrix or workflow template so all jobs stay in sync when adding/removing versions.
-          - 18

Copy link
Member

@JoshuaWise JoshuaWise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for staying on top of this!

@JoshuaWise JoshuaWise merged commit ae953ec into WiseLibs:master May 19, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Please add "engines" config to package.json
2 participants